package VN.EDU.IMIC.DEVELOPER.NGUYENTHUYOANH_Arr05;

import java.util.Scanner;

public class Views {

	
	public static void main(String[] args) {
		Scanner obj_Scanner=new Scanner(System.in);
		Controller obj_Controller=new Controller();
		System.out.println("Nhap so phan tu");
		int sophantu=obj_Scanner.nextInt();
		int a[]=new int[sophantu];
	
		//Nhap mang
		for(int i=0;i<a.length;i++)
		{
		
			System.out.println("Nhap phan tu thu "+ i+ " ");
			a[i]=obj_Scanner.nextInt();
		}
		
		
		obj_Controller.SapXepTang(a);
		
		//Xuat mang
				for(int i=0;i<a.length;i++)
				{
				
					System.out.println("Gia tri phan tu thu "+ i+ "la: "+ a[i]);

				}
		
	}

}
